@extends('layouts.base')

@section('title', '用户管理')

@section('content')
    <div class="content">
        @if($users->isEmpty())
            没有数据
        @else
            <table>
                <tbody>
                    @foreach($users as $user)
                        <tr>
                            <td>{{ $user->email }}</td>
                            <td>{{ $user->name }}</td>
                            <td>{{ $user->created_at }}</td>
                            <td>{{ $user->updated_at }}</td>
                        </tr>
                    @endforeach
                </tbody>
            </table>
        @endif
    </div>
@endsection
